// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from "vue";
import App from "./App";
import router from "./router";
import "@/comm/css/icon.css";
import "@/comm/css/reset.css";
import Global from "./global";
import Element from "element-ui";
import "element-ui/lib/theme-chalk/index.css";

Vue.config.productionTip = false;
// 绑定到Vue
Vue.prototype.global = Global;
Vue.use(Element, { size: "small", zIndex: 3000 });

/* eslint-disable no-new */
new Vue({
  el: "#app",
  router,
  components: { App },
  template: "<App/>"
});
